package cn.tedu.egnotice1.mapper;

import cn.tedu.egnotice1.pojo.entiy.Notice;
import cn.tedu.egnotice1.pojo.vo.NoticeDetailInfoVO;
import cn.tedu.egnotice1.pojo.vo.NoticeListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoticeMapper {
    int insertNotice(Notice notice);

    List<NoticeListVO> selectNotice(String title, Integer type);

    NoticeDetailInfoVO selectById(Long id);

    int deleteById(Long id);

    int UpdateById(Notice notice);
}
